//
//  TSCVCForget5ResendVeriEmailNotReceived.m
//  Tsc_IOS
//
//  Created by Rio on 15-5-15.
//  Copyright (c) 2015年 idream. All rights reserved.
//

#import "TSCVCForget5ResendVeriEmailNotReceived.h"
#import "TSCSDK.h"
#import "TSCVCLogin.h"

@implementation TSCVCForget5ResendVeriEmailNotReceived

+ (id) vcForget5ResendVeriEmailNotReceivedWithStoryboard {
    UIStoryboard * sb = [UIStoryboard storyboardWithName:UI_STORYBOARD_NAME_MAIN bundle:[NSBundle mainBundle]];
    return [sb instantiateViewControllerWithIdentifier:UI_VC_NAME_FORGET_5_RESEND_VERI_EMAIL_NOT_RECEIVED];
}

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    // 设置自定义导航栏
    _nbc = [[TSCMyNaviBarCreator alloc]initAndCreateWithViewController:self hasGoBackButton:YES goBackVC:nil hasAppLogo:YES titleResourceKey:@"title_forget_email_not_received" iconResourceNameArray:nil iconClickedListenerArray:nil];
    
    // 设置界面显示
    _lbInfo.text = NSLocalizedString(@"content_email_not_received", nil);
    
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
 #pragma mark - Navigation
 
 // In a storyboard-based application, you will often want to do a little preparation before navigation
 - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
 {
 // Get the new view controller using [segue destinationViewController].
 // Pass the selected object to the new view controller.
 }
 */

#pragma mark 私有方法

#pragma mark delegate

- (IBAction)btnReloginClicked:(id)sender {
    // 返回登录界面
    [self.navigationController popToViewController:[TSCMyUIUtil getAncestorVCofVC:self byClass:[TSCVCLogin class]] animated:YES];
}


@end
